﻿using System.Collections.Generic;

namespace ExcelAutomator
{
	public class ExecutorSet
	{
		public string Id { get; private set; }
		
		private readonly IList<IExecutor> m_Executors;
		public IEnumerable<IExecutor> Executors
		{
			get { return m_Executors; }
		}

		public ExecutorSet(string id)
		{
			Id = id;
			m_Executors = new List<IExecutor>();
		}

		public void Add(IExecutor executor)
		{
			m_Executors.Add(executor);
		}
	}
}